package com.example.testdemo;

import com.example.testdemo.annotation.Component;

/**
 * <p>
 *
 * </p>
 *
 * @author 永健
 * @since 2020-03-29 02:27
 */
@Component
public class Women implements Person {

    private String name;

    public Women() {
    }

    public Women(String name) {
        this.name = name;
    }

    @Override
    public void eat() {
        System.out.println("women eat...");
    }
}
